package com.weixin.pay.error;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 出错页面控制器,用于处理HandleErrorPageConfiguration跳转路径
 */
@Controller
@RequestMapping("/error")
public class ErrorController {


    @GetMapping(value = "/404")
    public String error_400(){
        return "error";
    }

    @GetMapping(value = "/500")
    public String error_500(){
        return "error";
    }

}
